home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
-
- set -e
-
- # Remove symlinks to script to have them reinserted by debhelper
- # without the shutdown and reboot links; this init script does not
- # need them.
- if dpkg --compare-versions "$2" lt "0.1-17.2"; then
- update-rc.d -f hotkey-setup remove
- fi
-
- # Automatically added by dh_installinit
- if [ -x "/etc/init.d/hotkey-setup" ]; then
- update-rc.d hotkey-setup start 20 2 3 4 5 . stop 20 1 . >/dev/null
- if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
- invoke-rc.d hotkey-setup start || exit $?
- else
- /etc/init.d/hotkey-setup start || exit $?
- fi
- fi
- # End automatically added section
-
-